import { requestClient } from '#/api/request';

export * from './core';
export function requestApi(url: any, data: any = {}, method: string = 'get') {
  return method === 'post'
    ? requestClient.post(url, data)
    : requestClient.get(url, { params: data });
}
